Multiple Inheritance in Object - Oriented Attribute
نویسنده
چکیده
Object-oriented attribute grammars are a promising notation for language specifications. They hav e similar benefits as object-orientation in the area of programming languages. They support a compact and flexible style for language specifications. Existing definitions can be easily reused as well as the associated default behaviour. New definitions can be derived from existing ones by specialization. While previous approaches have been restricted to single inheritance this paper defines object-oriented attribute grammars with multiple inheritance. A system has been developed that processes those attribute grammars. We describe an example that uses multiple inheritance and compare the terminology and concepts of related areas.
منابع مشابه
Object - Oriented Attribute Grammars
This paper introduces object-oriented attribute grammars. These can be characterized as a notation for all classes of attribute grammars. Based on a subtype relation between grammar rules, inheritance of attributes and attribute computations are defined. With this approach, attributes local to grammar rules and the elimination of chain rules are possible without any special constructs. We prese...
متن کاملThe Template and Multiple Inheritance Approach into Attribute Grammars
Formal methods for describing programming language semantics, such as attribute grammars, operational semantics and denotational semantics, are not widely used since they are not modular, extensible and reusable. In the paper a new modular, extensible and reusable approach for specifying programming languages with attribute grammars is presented. The concepts from object-oriented programming, i...
متن کاملObject Deputy Model and Its Applications
In this paper, the concept of object deputy model is introduced to realize flexible objectbases. The model was required to realize advanced database applications, such as geographic databases, virtual office systems and distant education systems which are currently developed in our group. The model can also treat well-known problems of object-oriented data models: realization of flexible views,...
متن کاملAspectLISA: An Aspect-oriented Compiler Construction System Based on Attribute Grammars
The use of object-oriented techniques and concepts, like encapsulation and inheritance, greatly improves language specifications towards better modularity, reusability and extensibility. Additional improvements can be achieved with aspect-oriented techniques since semantic aspects also crosscut many language constructs. Indeed, aspect-oriented constructs have been already added to some language...
متن کاملColoring, a versatile technique for implementing object-oriented languages
Late binding and subtyping create run-time overhead for object-oriented languages. Dynamic typing and multiple inheritance create even more overhead. Static typing and single inheritance lead to two major invariants—of reference and position—that make the implementation as efficient as possible. Coloring is a technique that preserves these invariants for dynamic typing or multiple inheritance a...
متن کامل